﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
/// <summary>
///QueryParameter 的摘要说明
/// </summary>
public class QueryParameter
{
    public QueryParameter(string name, object value, DbType dbType)
    {
        this.Name = name;
        this.Value = value;
        this.DbType = dbType;
    }
    public string Name { get; set; }//变量名
    public object Value { get; set; }//变量值
    public DbType DbType { get; set; }//参数类型
    private ParameterDirection direction = ParameterDirection.Input;//参数传递方向，默认是传入
    public ParameterDirection Direction
    {
        get { return direction; }
        set { direction = value; }
    }

}